let BASE_URL = '';
let base = '';
let uploadUrl = '';

if (import.meta.env.DEV) {
  base = 'http://127.0.0.1:3334/';
  BASE_URL = 'http://127.0.0.1:3334/api';
  uploadUrl = BASE_URL + '/file/upload';
} else {
  base = 'https://www.zwpsite.top/';
  //   BASE_URL = "https://106.14.121.85:3333/api";
  BASE_URL = 'https://www.zwpsite.top/api';
}
uploadUrl = BASE_URL + '/file/upload';

export { BASE_URL, base, uploadUrl };
